#ifndef DATAMANAGER_H
#define DATAMANAGER_H
#include <QVariant>
#include <QMap>
#include <QList>
#include "DataConsumer.h"
#include "DataSubscribe.h"
#include <QSharedDataPointer>
class DataManager
{
public:
    DataManager();
public:
    //virtual void OnData(std::string key, QVariant val);
    void Startup();

private:
    QMap<QString, DataConsumer*> consumerMap;
    QList<DataSubscribe*> subscribers;
};

#endif // DATAMANAGER_H
